﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using tactics.Interfaces;

namespace tactics.Commands
{
    class SelectUnitCommand : BaseCommand
    {
        Unit unit;
        Player player;

        public SelectUnitCommand(Unit unitIn, Player playerIn)
        {
            unit = unitIn;
            player = playerIn;
        }

        public override void Execute()
        {
            TacticsEngine.Instance.Game.Selection.ClickUnit(unit, player);
            Finished = true;
        }
    }
}
